Balancing Straight-line Programs

نویسندگان

چکیده

We show that a context-free grammar of size produces single string $w$?> length $n$?> (such is also called straight-line program) can be transformed in linear time into for $\mathcal {O}(m)$?> , whose unique derivation tree has depth {O}(\log n)$?> . This solves an open problem the area grammar-based compression, improves many results this area, and greatly simplifies existing constructions. Similar are shown two formalisms compression: top dags forest programs. These balancing all deduced from meta-theorem stating algebraic circuit over algebra with certain finite base property reduced to cost constant multiplicative increase. Here, refers unfolding (or unravelling) circuit. In particular, applies standard arithmetic circuits (noncommutative) semirings.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Indexing Straight-Line Programs∗

Straight-line programs offer powerful text compression by representing a text T [1, u] in terms of a context-free grammar of n rules, so that T can be recovered in O(u) time. However, the problem of operating the grammar in compressed form has not been studied much. We present the first grammar representation able of extracting text substrings, and of searching the text for patterns, in time o(...

متن کامل

Faster Sparse Interpolation of Straight-Line Programs

We give a new probabilistic algorithm for interpolating a “sparse” polynomial f given by a straight-line program. Our algorithm constructs an approximation f of f , such that f − f probably has at most half the number of terms of f , then recurses on the difference f−f. Our approach builds on previous work by Garg and Schost (2009), and Giesbrecht and Roche (2011), and is asymptotically more ef...

متن کامل

Straight-line Programs in Polynomial Equation Solving

Solving symbolically polynomial equation systems when intermediate and final polynomials are represented in the usual dense encoding turns out to be very inefficient: the sizes of the systems one can deal with do not respond to realistic needs. Evaluation representations appeared in this frame a decade ago as a new possibility to treat new families of problems. We present a survey of the most r...

متن کامل

Unary Pushdown Automata and Straight-Line Programs

We consider decision problems for deterministic pushdown automata over a unary alphabet (udpda, for short). Udpda are a simple computation model that accept exactly the unary regular languages, but can be exponentially more succinct than finite-state automata. We complete the complexity landscape for udpda by showing that emptiness (and thus universality) is P-hard, equivalence and compressed m...

متن کامل

Computing multihomogeneous resultants using straight-line programs

We present a new algorithm for the computation of resultants associated with multihomogeneous (and, in particular, homogeneous) polynomial equation systems using straight-line programs. Its complexity is polynomial in the number of coefficients of the input system and the degree of the resultant computed.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Journal of the ACM

سال: 2021

ISSN: ['0004-5411', '1557-735X']

DOI: https://doi.org/10.1145/3457389